home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / string.h < prev    next >
C/C++ Source or Header  |  1989-08-02  |  2KB  |  51 lines

  1. /* Copyright 1989 Manx Software Systems, Inc. All rights reserved */
  2.  
  3. #ifndef __STRING_H
  4. #define __STRING_H
  5.  
  6. #ifndef _SIZE_T
  7. #define _SIZE_T
  8. typedef unsigned long size_t;
  9. #endif
  10.  
  11. #ifndef NULL
  12. #define NULL ((void *)0)
  13. #endif
  14.  
  15. void *memcpy(void *_dst, const void *_src, size_t _n);
  16. void *memmove(void *_dst,const void *_src, size_t _n);
  17. char *strcpy(char *_dst, const char *_src);
  18. char *strncpy(char *_dst, const char *_src, size_t _n);
  19. char *strcat(char *_dst, const char *_src);
  20. char *strncat(char *_dst, const char *_src, size_t _n);
  21.  
  22. void *memchr(const void *_s, int _c, size_t _n);
  23. void *memset(void *_s, int _c, size_t _n);
  24. int memcmp(const void *_s1, const void *_s2, size_t _n);
  25. int strcmp(const char *_s1, const char *_s2);
  26. int strncmp(const char *_s1, const char *_s2, size_t _n);
  27. char *strpbrk(const char *_s1, const char *_s2);
  28. char *strchr(const char *_s, int _c);
  29. char *strrchr(const char *_s, int _c);
  30. char *strstr(const char *_s1, const char *_s2);
  31. char *strtok(char *_s1, const char *_s2);
  32. char *strerror(int _errnum);
  33. size_t strcspn(const char *_s1, const char *_s2);
  34. size_t strlen(const char *_s);
  35. size_t strspn(const char *_s1, const char *_s2);
  36. int strcoll(const char *_s1, const char *_s2);
  37. size_t strxfrm(char *_s1, const char *_s2, size_t _n);
  38.  
  39. #if !__STDC__ /* non ANSI C functions */
  40.  
  41. void *memccpy(void *_dst, const void *_src, int _c, size_t _n);
  42. char *index(char *_s, int _c);
  43. char *rindex(char *_s, int _c);
  44. void swapmem(void *_s1, void *_s2, size_t _n);
  45. char *strdup(char *_s);
  46.  
  47. #endif /* !__STDC__ */
  48.  
  49. #endif /* _STRING_H */
  50.  
  51.